﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using NLUNZ.Business;

namespace NLUNZ.UserControls
{
    public partial class ContactUsProperty : System.Web.UI.UserControl
    {
        public string DictKey = "ContactUs";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Repository.KeyExistInDictionary(DictKey))
            {
                Repository.InsertKeyToDictionary(DictKey);
            }
        }

        protected void Page_PreRender(object sender, EventArgs e)
        {
            HtmlMeta metatag = new HtmlMeta();
            metatag.Attributes.Add("http-equiv", "X-UA-Compatible");
            metatag.Attributes.Add("content", "IE=8;IE=7;IE=5");
            Page.Header.Controls.AddAt(0, metatag);
        }
    }
}